<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>流式布局、百分比布局</title>
	<style>
		section{
			width: 100%;
			height: 50px;
			background-color: blue;
			max-width: 750px;
			min-width: 300px;
		}
		section div{
			width: 50%;
			height: 50px;
			float: left;
		}
		section div:nth-child(1){
			background-color: chartreuse;
		}
		section div:nth-child(2){
			background-color: red;
		}
	</style>
</head>
<body>
	<section>
		<div></div>
		<div></div>
	</section>
</body>
</html>